<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="referrer" content="none">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!-- <meta name="Cache-Control" content="no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0" /> -->
    <meta name="viewport"  content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <script>
      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
        CSS.supports('top: constant(a)'))
      document.write(
        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
    </script>
    <title></title>
    <!--preload-links-->
    <!--app-context-->
  </head>
  <body>
    <div id="app"><!--app-html--></div>
    <!-- <script>
        //阻止safari浏览器双击放大功能
        let lastTouchEnd = 0  //更新手指弹起的时间
        document.documentElement.addEventListener("touchstart", function (event) {
            //多根手指同时按下屏幕，禁止默认行为
            if (event.touches.length > 1) {
              event.preventDefault();
            }
          });
          document.documentElement.addEventListener("touchend", function (event) {
            let now = (new Date()).getTime();
            if (now - lastTouchEnd <= 300) {
             //当两次手指弹起的时间小于300毫秒，认为双击屏幕行为
              event.preventDefault();
            }else{ // 否则重新手指弹起的时间
              lastTouchEnd = now;
            }
          }, false);
          //阻止双指放大页面
          document.documentElement.addEventListener("gesturestart", function (event) {
            event.preventDefault();
          });
          // 上线后阻止
          document.onkeydown = function () {
              if (window.event && window.event.keyCode == 123) {
                  event.keyCode = 0;
                  event.returnValue = false;
              }
              if (window.event && window.event.keyCode == 13) {
                  window.event.keyCode = 505;
              }
              if (window.event && window.event.keyCode == 8) {
                  window.event.returnValue = false;
              }
          }
          document.oncontextmenu = function (event) {
              if (window.event) {
                  event = window.event;
              }
              try {
                  var the = event.srcElement;
                  if (!((the.tagName == "INPUT" && the.type.toLowerCase() == "text") || the.tagName == "TEXTAREA")) {
                      return false;
                  }
                  return true;
              } catch (e) {
                  return false;
              }
          }
          if(window.location.href.indexOf('#debug')==-1){
            setInterval(function(){
              (function (a) {return (function (a) {return (Function('Function(arguments[0]+"' + a + '")()'))})(a)})('bugger')('de', 0, 0, (0, 0));
            }, 1000);
          }
    </script> -->
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
